<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}我的个人网站{% endblock %}</title>
    <link rel="stylesheet" href="/static/style.css">
    <link rel="icon" href="/static/favicon.ico" type="image/x-icon">
    <!-- 添加字体图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<script src="/static/script.js"></script>
<body>
    <nav class="navbar">
        <div class="nav-container">
            <a href="/" class="nav-logo">我的网站</a>
            <ul class="nav-menu">
                <li class="nav-item">
                    <a href="/" class="nav-link">首页</a>
                </li>
                <li class="nav-item">
                    <a href="/about" class="nav-link">关于我</a>
                </li>
                <li class="nav-item">
                    <a href="/projects" class="nav-link">项目</a>
                </li>
                <li class="nav-item">
                    <a href="/contact" class="nav-link">联系我</a>
                </li>
            </ul>
        </div>
    </nav>

    <main>
        {% block content %}{% endblock %}
    </main>

    <footer>
        <div class="footer-content">
            <p>&copy;  我的个人网站. 保留所有权利.</p>
        </div>
    </footer>
</body>
</html>